package main

import "fmt"

func main() {

	count := 0
	//for 1-100
	for i := 1; i <= 100; i++ {
		if i%2 == 0 {
			println(i)
			count++
		}
	}
	fmt.Println("偶数次数count:", count)

	//判断是否是奇数
	num2 := 1
	for num2 <= 100 {
		if num2%2 != 0 {
			fmt.Println("奇数", num2)

		}
		num2++
	}
}
